<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <h1>欢迎页</h1>

  <form action="/rest/test" method="get">
      <input value="REST-GET提交" type="submit" />
  </form>

  <form action="/rest/test" method="post">
      <input value="REST-POST提交" type="submit" />
  </form>


  <form action="/rest/test" method="post">
<!--     默认隐藏域的请求参数名_method <input name="_method" type="hidden" value="DELETE"/>-->
      <input name="_m" type="hidden" value="DELETE"/>
      <input value="REST-DELETE提交" type="submit"/>
  </form>


  <form action="/rest/test" method="post">
      <input name="_method" type="hidden" value="PUT" />
      <input value="REST-PUT提交"type="submit" />
      <form>
</body>
</html>